import org.springframework.cloud.contract.spec.Contract

Contract.make {
    description("Should return a list of admins")
    request {
        method GET()
        url "/admins"
    }
    response {
        body(["Tom", "Jerry"])
        status( OK())
    }
}